﻿<views:UserControlView x:Class="Chronos.Extension.ProfilingTarget.ConcreteProcess.Win.View"
                       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                       x:Uid="Profiler_ProfilingTarget_ConcreteProcessView"
                       xmlns:controls="clr-namespace:Rhiannon.Windows.Controls;assembly=Rhiannon.Windows"
                       xmlns:views="clr-namespace:Rhiannon.Windows.Presentation;assembly=Rhiannon.Windows">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0" Grid.Column="0" Text="Executable:" HorizontalAlignment="Right" />
        <controls:BrowseFile Grid.Row="0" Grid.Column="1" Path="{Binding FileFullName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
        <TextBlock Grid.Row="1" Grid.Column="0" Text="Arguments:" HorizontalAlignment="Right" />
        <TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Arguments, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
        <CheckBox Grid.Row="2" Grid.Column="1" Content="Profile child process" IsChecked="{Binding ProfileChildProcess}" />
    </Grid>
</views:UserControlView>